﻿using System;

namespace BoldBrick.SharePoint.CommonControls.DataObjects.Base
{
	public abstract class BaseDataObject
	{
		/// <summary>
		/// Gets file name with resources (without ".cs-cz.resx" extension)
		/// </summary>
		protected string ResourceFileName
		{
			get { return GetResourceFileName(); }
		}

		/// <summary>
		/// Gets file name with resources (without ".cs-cz.resx" extension)
		/// </summary>
		/// <returns>Returns file name with resources (without ".cs-cz.resx" extension)</returns>
		protected virtual string GetResourceFileName()
		{
			throw new NotImplementedException("Implement 'GetResourceFileName' method in inherited class");
		}

	}
}
